home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / oops / r3cmod.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  997 b   |  49 lines

  1.  
  2. // JavaScript wrapper for r3cmod.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_CANVASMODEL_H = 1;
  7. include("oops/r3model.js")
  8.  
  9.  
  10. var R3CLID_CANVASMODEL = 643;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Ask model to set options for the given canvas object.
  16. // Virtual method
  17. // p3: Object, canvas
  18.  
  19. R3CMODM_UPDATECANVAS = 643000;
  20.  
  21. function mR3CMODM_UPDATECANVAS(p3) {
  22.   DoA(this.r3obj, 643000, p3, R3TID_OBJECT, 0);
  23. }
  24.  
  25. // Description: Asks if the model recognizes the canvas object.
  26. // Virtual method
  27. // Returns: Boolean, true if the given canvas was recognized by the model
  28. // p3: Integer, class id of the canvas object    
  29.  
  30. R3CMODM_ISYOURCANVAS = 643001;
  31.  
  32. function mR3CMODM_ISYOURCANVAS(p3) {
  33.   return   DoA(this.r3obj, 643001, p3, R3TID_INTEGER, 0);
  34. }
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. function r3Canvasmodel () { 
  42.    // Methods
  43.    this.UPDATECANVAS=mR3CMODM_UPDATECANVAS;
  44.    this.ISYOURCANVAS=mR3CMODM_ISYOURCANVAS;
  45.  
  46.    // Attributes
  47. }
  48.  
  49. // r3cmod.h_H